import matplotlib.pyplot as plt

img_array = plt.imread(r"D:\l'j't\code\pycharm\learning-python\AI\images\005.jpeg")
img = img_array / 255
#print(tiger)

# 显示图像
red_img = img.copy()

# RGB
red_img[:, :, [1, 2]] = 0
plt.imshow(red_img)
plt.axis('off')
plt.show()